package com.android.hidephotosplus.model;

import android.os.Parcel;
import android.os.Parcelable;

public class ModelMediaOfAlbum implements Parcelable {

	private String pathMediaStock;

	private String pathMediaStock2;

	private String pathMediaStock3;

	private String pathMediaStock4;

	private String pathMediaHidden;

	private String pathMediaHidden2;

	private String pathMediaHidden3;

	private String pathMediaHidden4;

	private long idMedia;

	private long idMedia2;

	private long idMedia3;

	private long idMedia4;

	public boolean isVideo = false;

	private boolean isVideo2 = false;

	private boolean isVideo3 = false;

	private boolean isVideo4 = false;

	public ModelMediaOfAlbum() {
	}

	public boolean isVideo2() {
		return isVideo2;
	}

	public void setVideo2(boolean isVideo2) {
		this.isVideo2 = isVideo2;
	}

	public boolean isVideo3() {
		return isVideo3;
	}

	public void setVideo3(boolean isVideo3) {
		this.isVideo3 = isVideo3;
	}

	public void setVideo(boolean isVideo) {
		this.isVideo = isVideo;
	}

	public long getIdMedia2() {
		return idMedia2;
	}

	public void setIdMedia2(long idMedia2) {
		this.idMedia2 = idMedia2;
	}

	public long getIdMedia3() {
		return idMedia3;
	}

	public void setIdMedia3(long idMedia3) {
		this.idMedia3 = idMedia3;
	}

	public String getPathMediaStock2() {
		return pathMediaStock2;
	}

	public void setPathMediaStock2(String pathMediaStock2) {
		this.pathMediaStock2 = pathMediaStock2;
	}

	public String getPathMediaStock3() {
		return pathMediaStock3;
	}

	public void setPathMediaStock3(String pathMediaStock3) {
		this.pathMediaStock3 = pathMediaStock3;
	}

	public String getPathMediaHidden2() {
		return pathMediaHidden2;
	}

	public void setPathMediaHidden2(String pathMediaHidden2) {
		this.pathMediaHidden2 = pathMediaHidden2;
	}

	public String getPathMediaHidden3() {
		return pathMediaHidden3;
	}

	public void setPathMediaHidden3(String pathMediaHidden3) {
		this.pathMediaHidden3 = pathMediaHidden3;
	}

	public String getPathMediaStock() {
		return pathMediaStock;
	}

	public void setPathMediaStock(String pathMediaStock) {
		this.pathMediaStock = pathMediaStock;
	}

	public String getPathMediaHidden() {
		return pathMediaHidden;
	}

	public void setPathMediaHidden(String pathMediaHidden) {
		this.pathMediaHidden = pathMediaHidden;
	}

	public long getIdMedia() {
		return idMedia;
	}

	public void setIdMedia(long idMedia) {
		this.idMedia = idMedia;
	}

	public boolean isVideo() {
		return isVideo;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeLong(idMedia);
		dest.writeLong(idMedia2);
		dest.writeLong(idMedia3);
		dest.writeLong(idMedia4);
		dest.writeString(pathMediaStock);
		dest.writeString(pathMediaStock2);
		dest.writeString(pathMediaStock3);
		dest.writeString(pathMediaStock4);
		dest.writeString(pathMediaHidden);
		dest.writeString(pathMediaHidden2);
		dest.writeString(pathMediaHidden3);
		dest.writeString(pathMediaHidden4);
		dest.writeByte((byte) (isVideo ? 1 : 0));
		dest.writeByte((byte) (isVideo2 ? 1 : 0));
		dest.writeByte((byte) (isVideo3 ? 1 : 0));
		dest.writeByte((byte) (isVideo4 ? 1 : 0));
	}

	public ModelMediaOfAlbum(Parcel parcel) {
		idMedia = parcel.readLong();
		idMedia2 = parcel.readLong();
		idMedia3 = parcel.readLong();
		idMedia4 = parcel.readLong();
		pathMediaStock = parcel.readString();
		pathMediaStock2 = parcel.readString();
		pathMediaStock3 = parcel.readString();
		pathMediaStock4 = parcel.readString();
		pathMediaHidden = parcel.readString();
		pathMediaHidden2 = parcel.readString();
		pathMediaHidden3 = parcel.readString();
		pathMediaHidden4 = parcel.readString();
		isVideo = parcel.readByte() == 1;
		isVideo2 = parcel.readByte() == 1;
		isVideo3 = parcel.readByte() == 1;
		isVideo4 = parcel.readByte() == 1;
	}

	public static final Parcelable.Creator<ModelMediaOfAlbum> CREATOR = new Parcelable.Creator<ModelMediaOfAlbum>() {
		@Override
		public ModelMediaOfAlbum createFromParcel(Parcel source) {
			return new ModelMediaOfAlbum(source);
		}

		@Override
		public ModelMediaOfAlbum[] newArray(int size) {
			return new ModelMediaOfAlbum[size];
		}
	};

	public String getPathMediaStock4() {
		return pathMediaStock4;
	}

	public void setPathMediaStock4(String pathMediaStock4) {
		this.pathMediaStock4 = pathMediaStock4;
	}

	public String getPathMediaHidden4() {
		return pathMediaHidden4;
	}

	public void setPathMediaHidden4(String pathMediaHidden4) {
		this.pathMediaHidden4 = pathMediaHidden4;
	}

	public long getIdMedia4() {
		return idMedia4;
	}

	public void setIdMedia4(long idMedia4) {
		this.idMedia4 = idMedia4;
	}

	public boolean isVideo4() {
		return isVideo4;
	}

	public void setVideo4(boolean isVideo4) {
		this.isVideo4 = isVideo4;
	}

}
